setMarginEnd

Deprecated

Use setMarginEnd directly.

Set the relative end margin.

On platform versions supporting bidirectional text and layouts this value will be resolved into the LayoutParams object's left or right margin as appropriate when the associated View is attached to a window or when the layout direction of that view changes.

Parameters

lp

LayoutParams to query

marginEnd

the desired end margin in pixels